package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Syngna
 * @since 2020-01-13
 */
@TableName("WORK_CENTER")
public class WorkCenter extends Model<WorkCenter> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("CHANGE_STAMP")
   private String changeStamp;
   @TableField("SITE")
   private String site;
   @TableField("WORK_CENTER")
   private String workCenter;
   @TableField(exist = false)
   private String description;
   @TableField("ROUTER_BO")
   private String routerBo;
   @TableField("CAN_BE_RELEASED_TO")
   private String canBeReleasedTo;
   @TableField("WC_CATEGORY")
   private String wcCategory;
   @TableField("STATUS_BO")
   private String statusBo;
   @TableField("WC_TYPE")
   private String wcType;
   @TableField("ASSIGNMENT_ENFORCEMENT")
   private String assignmentEnforcement;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;
   @TableField("ERP_INTERNAL_ID")
   private String erpInternalId;
   @TableField("IS_ERP_WORK_CENTER")
   private String isErpWorkCenter;
   @TableField("ERP_WORK_CENTER")
   private String erpWorkCenter;
   @TableField("ERP_CAPACITY_CATEGORY")
   private String erpCapacityCategory;
   @TableField("PRODUCTION_SUPPLY_AREA")
   private String productionSupplyArea;
   @TableField("STANDARD_VALUE_KEY_BO")
   private String standardValueKeyBo;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getChangeStamp() {
      return changeStamp;
   }

   public void setChangeStamp(String changeStamp) {
      this.changeStamp = changeStamp;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getWorkCenter() {
      return workCenter;
   }

   public void setWorkCenter(String workCenter) {
      this.workCenter = workCenter;
   }

   public String getDescription() {
      return description;
   }

   public void setDescription(String description) {
      this.description = description;
   }

   public String getRouterBo() {
      return routerBo;
   }

   public void setRouterBo(String routerBo) {
      this.routerBo = routerBo;
   }

   public String getCanBeReleasedTo() {
      return canBeReleasedTo;
   }

   public void setCanBeReleasedTo(String canBeReleasedTo) {
      this.canBeReleasedTo = canBeReleasedTo;
   }

   public String getWcCategory() {
      return wcCategory;
   }

   public void setWcCategory(String wcCategory) {
      this.wcCategory = wcCategory;
   }

   public String getStatusBo() {
      return statusBo;
   }

   public void setStatusBo(String statusBo) {
      this.statusBo = statusBo;
   }

   public String getWcType() {
      return wcType;
   }

   public void setWcType(String wcType) {
      this.wcType = wcType;
   }

   public String getAssignmentEnforcement() {
      return assignmentEnforcement;
   }

   public void setAssignmentEnforcement(String assignmentEnforcement) {
      this.assignmentEnforcement = assignmentEnforcement;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public String getErpInternalId() {
      return erpInternalId;
   }

   public void setErpInternalId(String erpInternalId) {
      this.erpInternalId = erpInternalId;
   }

   public String getIsErpWorkCenter() {
      return isErpWorkCenter;
   }

   public void setIsErpWorkCenter(String isErpWorkCenter) {
      this.isErpWorkCenter = isErpWorkCenter;
   }

   public String getErpWorkCenter() {
      return erpWorkCenter;
   }

   public void setErpWorkCenter(String erpWorkCenter) {
      this.erpWorkCenter = erpWorkCenter;
   }

   public String getErpCapacityCategory() {
      return erpCapacityCategory;
   }

   public void setErpCapacityCategory(String erpCapacityCategory) {
      this.erpCapacityCategory = erpCapacityCategory;
   }

   public String getProductionSupplyArea() {
      return productionSupplyArea;
   }

   public void setProductionSupplyArea(String productionSupplyArea) {
      this.productionSupplyArea = productionSupplyArea;
   }

   public String getStandardValueKeyBo() {
      return standardValueKeyBo;
   }

   public void setStandardValueKeyBo(String standardValueKeyBo) {
      this.standardValueKeyBo = standardValueKeyBo;
   }

   public static final String HANDLE = "HANDLE";

   public static final String CHANGE_STAMP = "CHANGE_STAMP";

   public static final String SITE = "SITE";

   public static final String WORK_CENTER = "WORK_CENTER";

   public static final String ROUTER_BO = "ROUTER_BO";

   public static final String CAN_BE_RELEASED_TO = "CAN_BE_RELEASED_TO";

   public static final String WC_CATEGORY = "WC_CATEGORY";

   public static final String STATUS_BO = "STATUS_BO";

   public static final String WC_TYPE = "WC_TYPE";

   public static final String ASSIGNMENT_ENFORCEMENT = "ASSIGNMENT_ENFORCEMENT";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   public static final String ERP_INTERNAL_ID = "ERP_INTERNAL_ID";

   public static final String IS_ERP_WORK_CENTER = "IS_ERP_WORK_CENTER";

   public static final String ERP_WORK_CENTER = "ERP_WORK_CENTER";

   public static final String ERP_CAPACITY_CATEGORY = "ERP_CAPACITY_CATEGORY";

   public static final String PRODUCTION_SUPPLY_AREA = "PRODUCTION_SUPPLY_AREA";

   public static final String STANDARD_VALUE_KEY_BO = "STANDARD_VALUE_KEY_BO";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "WorkCenter{" +
         "handle = " + handle +
         ", changeStamp = " + changeStamp +
         ", site = " + site +
         ", workCenter = " + workCenter +
         ", routerBo = " + routerBo +
         ", canBeReleasedTo = " + canBeReleasedTo +
         ", wcCategory = " + wcCategory +
         ", statusBo = " + statusBo +
         ", wcType = " + wcType +
         ", assignmentEnforcement = " + assignmentEnforcement +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         ", erpInternalId = " + erpInternalId +
         ", isErpWorkCenter = " + isErpWorkCenter +
         ", erpWorkCenter = " + erpWorkCenter +
         ", erpCapacityCategory = " + erpCapacityCategory +
         ", productionSupplyArea = " + productionSupplyArea +
         ", standardValueKeyBo = " + standardValueKeyBo +
         "}";
   }
}